package org.example.xml;

import org.aspectj.lang.JoinPoint;

public class LogAspectAfterThrowing {
    public void afterThrowing(JoinPoint joinPoint, Exception exception) throws Throwable {
        System.out.println("【AOP -- after Throwing】连接点：" +
                joinPoint.getSignature().getName() + ", 抛出异常：" + exception.getMessage());
    }
}
